package com.kclm.config;

/**
 * @Author : lvhx
 * @Date: 2025/11/11 11:53
 * @Description:
 */
public class DataCollectionService {
    private DataSource dataSource;

    public DataSource getDataSource() {
        return dataSource;
    }

    public void setDataSource(DataSource dataSource) {
        this.dataSource = dataSource;
    }

    public void collection(){
        String  url = dataSource.getUrl();
        System.out.println("数据连接===");
        System.out.println("url===="+url);
    }
}
